﻿using QuanLyNhaSach.DataAccessLayer;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace QuanLyNhaSach
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e)
        {
            //             KhachHangDAO khDAO = new KhachHangDAO();
            //             data_view.DataSource = khDAO.LayDanhSach();
             PhieuNhapDAO pnDAO = new PhieuNhapDAO();
             data_view.DataSource = pnDAO.LayDanhSach();
//             CongNoDAO pnDAO = new CongNoDAO();
//             data_view.DataSource = pnDAO.LayDanhSach();
//             TonKhoDAO pnDAO = new TonKhoDAO();
//             data_view.DataSource = pnDAO.LayDanhSach();
        }
    }
}
